//
//  ZXPickerView.h
//  qianke
//
//  Created by ZX on 2017/7/3.
//  Copyright © 2017年 ZX. All rights reserved.
//

#import <UIKit/UIKit.h>
#define     KeyWindow     [[UIApplication sharedApplication] keyWindow]

@protocol myPickerViewDelegate <NSObject>
- (void)zxcancelBtnClick;
- (void)zxsureBtnClickReturnString:(NSString *)string;
@end


@interface ZXPickerView : UIView
/** 实现点击按钮代理*/
@property (nonatomic ,weak) id<myPickerViewDelegate> delegate;
@property (nonatomic, strong) CALayer *maskLayer;
@property (nonatomic, strong) UIControl *control;
@property (nonatomic, strong) UITapGestureRecognizer *tap;
- (void)creatPickView:(NSArray *)arr;
- (void)zxshow;
- (void)zxhide;


@property(copy ,nonatomic)NSArray*arr;
@end
